package com.lou.springboot.service;

import com.lou.springboot.common.PageResult;
import com.lou.springboot.entity.BlogComment;
import com.lou.springboot.utils.PageUtil;
import com.sun.org.apache.xpath.internal.operations.Bool;

/**
 * Created by Guaguaerhao on 2020/7/17 22:53
 */
public interface CommentService {
    PageResult getCommentsPage(PageUtil pageUtil);
    Boolean addComment(BlogComment blogComment);
    PageResult getCommentPageByBlogIdAndPageNum(Long blogId,Integer commentPage);
    Boolean done(Integer[] commentIds);
    Boolean reply(Long commentId, String replyBody);
    Boolean deleteBatch(Integer[] ids);
}
